package cn.chengpengper.seckill.common.event;

import cn.chengpengper.seckill.common.model.message.TopicMessage;
import com.alibaba.cola.event.DomainEventI;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chengpeng.hu
 */
public class SeckillBaseEvent extends TopicMessage {

    private Long id;

    private Integer status;

    public SeckillBaseEvent(Long id, Integer status, String topicEvent) {
        super(topicEvent);
        this.id = id;
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
